const a = async function (
  page,
  { transfer: { checkRow } },
  { dayjs, dc: { store, http } }
) {
  const year = dayjs(store.get("user", "date")).format("YYYY");
  const { data, total } = await http.post({
    url: "/nyk/report/listFunctionPayDetail",
    params: {
      functionCode: checkRow.functionCode,
      ...page,
      year,
    },
  });
  return {
    items: data,
    total,
  };
};
